Thonny with CircuitPython

Thonny is a Python IDE that makes running code on your Pico easy.

Thonny allows you to write Python code, save it on your Pico and run it. This guide will show you how to use it with CircuitPython


Install Thonny

Download Thonny from here and install it on your computer.

Thonny

Turn on the option to view files:

View files

Plug your Pico into your computer’s USB.

At the bottom right select the CircuitPython option:

Circuitpython option

You should see the files that are on your Pico:

Files

Run a Hello World program

Open up code.py and enter the following code:

Hello

Run the code by pressing the play button:

Play

You should see the result appear:

Result

Note that this code is running on the Pico, not your computer!